<?php if( ($childrenQnt = Tree::getById($tree->getParentId())->getChildrenQnt()) ): ?>
    <?php echo $childrenQnt ?>
<?php else: ?>
    <?php echo __('No children') ?>
<?php endif; ?>
